package com.ruoyi.tb.lmt.mapper;

import com.ruoyi.tb.lmt.domain.TbWorkFile;
import com.ruoyi.tb.lmt.domain.vo.TbLmtrepairWorkdetailVo;
import com.ruoyi.tb.lmt.domain.vo.TbWorkFileVo;
import com.ruoyi.common.core.mapper.BaseMapperPlus;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 大机履历资料Mapper接口
 *
 * @author ruoyi
 * @date 2024-02-01
 */
@Mapper
public interface TbWorkFileMapper extends BaseMapperPlus<TbWorkFileMapper, TbWorkFile, TbWorkFileVo> {

    List<TbLmtrepairWorkdetailVo> selectWorkFile(String id);

    String countByLmtRepairIdAndName(@Param("lmtRepairId") Long lmtRepairId, @Param("fileName") String fileName);
}
